package 线程的状态;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 石方旭
 * Date: 2022-09-22
 * Time: 16:25
 */
public class ThreadDemo5 {


    public static void main(String[] args) {
        //使用Lambda表达式
        Thread t = new Thread(()->{
            System.out.println("我是Lambda创建的线程");
        });
        //启动线程
        t.start();
    }

}
